package com.rentong.cust.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rentong.common.annotation.Excel;
import com.rentong.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

@Data
public class CustJiesuanRequest {


    /**
     * 结算单明细的id
     */
    private Long jiesuanListId;

    /**
     * 结算单的id
     */
    @Excel(name = "结算单的id")
    private Long jiesuanId;

    /**
     * 结算单的日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算单的日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jiesuanTime;

    /**
     * 工程名称
     */
    @Excel(name = "工程名称")
    private String jiesuanListName;

    /**
     * 工程量
     */
    @Excel(name = "工程量")
    private String gongchengliang;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String danwei;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private Long danjia;

    /**
     * 合价
     */
    @Excel(name = "合价")
    private Long hejia;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date addTime;

    private Integer jiesuanState;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

}
